<?php if( dopt('d_mobilesticky_b') ) echo '<style type="text/css">@media screen and (max-width:1100px){ #wowslider-container1{display:none !important ;}}</style>'; ?>
<div id="wowslider-container1">
	<div class="ws_images"><ul>
<?php $sticky = get_option('sticky_posts'); rsort( $sticky );
		query_posts( array( 'post__in' => $sticky, 'caller_get_posts' => 1, 'showposts' => dopt('d_sticky_count')?dopt('d_sticky_count'):4 ) );
		while (have_posts()) : the_post();
echo '<li><a target="_blank" href="'.get_permalink().'" title="'.get_the_title().'">';
		echo '<img src="';echo post_thumbnail_src();echo '" title="'.get_the_title().'" alt="'.get_the_title().'" /></a></li>';
		endwhile;
		wp_reset_query();
	?>
	</ul>
</div>

<div class="ws_thumbs">
<div>
<?php if( dopt('d_qiniucdn_b') ){
 $sticky = get_option('sticky_posts'); rsort( $sticky );
		query_posts( array( 'post__in' => $sticky, 'caller_get_posts' => 1, 'showposts' => dopt('d_sticky_count')?dopt('d_sticky_count'):4 ) );
		while (have_posts()) : the_post();
echo '<a target="_blank" href="#" title="'.get_the_title().'">';
		echo '<img src="';echo post_thumbnail_src();echo '?imageView2/1/w/120/h/62/q/85" /></a>';
		endwhile;
		wp_reset_query();
	}else{
		$sticky = get_option('sticky_posts'); rsort( $sticky );
		query_posts( array( 'post__in' => $sticky, 'caller_get_posts' => 1, 'showposts' => dopt('d_sticky_count')?dopt('d_sticky_count'):4 ) );
		while (have_posts()) : the_post();
echo '<a target="_blank" href="#" title="'.get_the_title().'">';
		echo '<img src="'.get_bloginfo("template_url").'/timthumb.php?src=';echo post_thumbnail_src();echo '&h=62&w=120&q=90&zc=1&ct=1" /></a>';
		endwhile;
		wp_reset_query();
	}
	?>
</div>
</div><div class="ws_shadow"></div>
	</div><script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/slider.js"></script>
